Termination w.r.t. Q of the following Term Rewriting System could be disproven:

Q restricted rewrite system:
The TRS R consists of the following rules:

a__f(a, b, X) → a__f(X, X, mark(X))
a__ca
a__cb
mark(f(X1, X2, X3)) → a__f(X1, X2, mark(X3))
mark(c) → a__c
mark(a) → a
mark(b) → b
a__f(X1, X2, X3) → f(X1, X2, X3)
a__cc

Q is empty.


QTRS
  ↳ DependencyPairsProof

Q restricted rewrite system:
The TRS R consists of the following rules:

a__f(a, b, X) → a__f(X, X, mark(X))
a__ca
a__cb
mark(f(X1, X2, X3)) → a__f(X1, X2, mark(X3))
mark(c) → a__c
mark(a) → a
mark(b) → b
a__f(X1, X2, X3) → f(X1, X2, X3)
a__cc

Q is empty.

Using Dependency Pairs [1,15] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

MARK(f(X1, X2, X3)) → MARK(X3)
A__F(a, b, X) → A__F(X, X, mark(X))
MARK(f(X1, X2, X3)) → A__F(X1, X2, mark(X3))
A__F(a, b, X) → MARK(X)
MARK(c) → A__C

The TRS R consists of the following rules:

a__f(a, b, X) → a__f(X, X, mark(X))
a__ca
a__cb
mark(f(X1, X2, X3)) → a__f(X1, X2, mark(X3))
mark(c) → a__c
mark(a) → a
mark(b) → b
a__f(X1, X2, X3) → f(X1, X2, X3)
a__cc

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
QDP
      ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

MARK(f(X1, X2, X3)) → MARK(X3)
A__F(a, b, X) → A__F(X, X, mark(X))
MARK(f(X1, X2, X3)) → A__F(X1, X2, mark(X3))
A__F(a, b, X) → MARK(X)
MARK(c) → A__C

The TRS R consists of the following rules:

a__f(a, b, X) → a__f(X, X, mark(X))
a__ca
a__cb
mark(f(X1, X2, X3)) → a__f(X1, X2, mark(X3))
mark(c) → a__c
mark(a) → a
mark(b) → b
a__f(X1, X2, X3) → f(X1, X2, X3)
a__cc

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
QDP
          ↳ QDPOrderProof

Q DP problem:
The TRS P consists of the following rules:

MARK(f(X1, X2, X3)) → MARK(X3)
A__F(a, b, X) → A__F(X, X, mark(X))
MARK(f(X1, X2, X3)) → A__F(X1, X2, mark(X3))
A__F(a, b, X) → MARK(X)

The TRS R consists of the following rules:

a__f(a, b, X) → a__f(X, X, mark(X))
a__ca
a__cb
mark(f(X1, X2, X3)) → a__f(X1, X2, mark(X3))
mark(c) → a__c
mark(a) → a
mark(b) → b
a__f(X1, X2, X3) → f(X1, X2, X3)
a__cc

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We use the reduction pair processor [15].


The following pairs can be oriented strictly and are deleted.


MARK(f(X1, X2, X3)) → MARK(X3)
MARK(f(X1, X2, X3)) → A__F(X1, X2, mark(X3))
The remaining pairs can at least be oriented weakly.

A__F(a, b, X) → A__F(X, X, mark(X))
A__F(a, b, X) → MARK(X)
Used ordering: Matrix interpretation [3]:
Non-tuple symbols:
M( c ) =
/0\
\0/

M( a__c ) =
/0\
\0/

M( a ) =
/0\
\0/

M( f(x1, ..., x3) ) =
/0\
\1/
+
/00\
\00/
·x1+
/00\
\00/
·x2+
/00\
\01/
·x3

M( a__f(x1, ..., x3) ) =
/0\
\1/
+
/00\
\00/
·x1+
/00\
\00/
·x2+
/10\
\01/
·x3

M( mark(x1) ) =
/0\
\0/
+
/00\
\01/
·x1

M( b ) =
/0\
\0/

Tuple symbols:
M( MARK(x1) ) = 0+
[0,1]
·x1

M( A__F(x1, ..., x3) ) = 0+
[0,0]
·x1+
[0,0]
·x2+
[0,1]
·x3


Matrix type:
We used a basic matrix type which is not further parametrizeable.


As matrix orders are CE-compatible, we used usable rules w.r.t. argument filtering in the order.
The following usable rules [17] were oriented:

a__ca
a__f(a, b, X) → a__f(X, X, mark(X))
mark(f(X1, X2, X3)) → a__f(X1, X2, mark(X3))
a__cb
mark(a) → a
mark(c) → a__c
a__f(X1, X2, X3) → f(X1, X2, X3)
mark(b) → b
a__cc



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
QDP
              ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

A__F(a, b, X) → A__F(X, X, mark(X))
A__F(a, b, X) → MARK(X)

The TRS R consists of the following rules:

a__f(a, b, X) → a__f(X, X, mark(X))
a__ca
a__cb
mark(f(X1, X2, X3)) → a__f(X1, X2, mark(X3))
mark(c) → a__c
mark(a) → a
mark(b) → b
a__f(X1, X2, X3) → f(X1, X2, X3)
a__cc

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ QDPOrderProof
            ↳ QDP
              ↳ DependencyGraphProof
QDP
                  ↳ NonTerminationProof

Q DP problem:
The TRS P consists of the following rules:

A__F(a, b, X) → A__F(X, X, mark(X))

The TRS R consists of the following rules:

a__f(a, b, X) → a__f(X, X, mark(X))
a__ca
a__cb
mark(f(X1, X2, X3)) → a__f(X1, X2, mark(X3))
mark(c) → a__c
mark(a) → a
mark(b) → b
a__f(X1, X2, X3) → f(X1, X2, X3)
a__cc

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We used the non-termination processor [17] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

The TRS P consists of the following rules:

A__F(a, b, X) → A__F(X, X, mark(X))

The TRS R consists of the following rules:

a__f(a, b, X) → a__f(X, X, mark(X))
a__ca
a__cb
mark(f(X1, X2, X3)) → a__f(X1, X2, mark(X3))
mark(c) → a__c
mark(a) → a
mark(b) → b
a__f(X1, X2, X3) → f(X1, X2, X3)
a__cc


s = A__F(mark(a__c), mark(a__c), mark(mark(a__c))) evaluates to t =A__F(mark(a__c), mark(a__c), mark(mark(a__c)))

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:




Rewriting sequence

A__F(mark(a__c), mark(a__c), mark(mark(a__c)))A__F(mark(a__c), mark(a__c), mark(mark(c)))
with rule a__cc at position [2,0,0] and matcher [ ]

A__F(mark(a__c), mark(a__c), mark(mark(c)))A__F(mark(a__c), mark(a__c), mark(a__c))
with rule mark(c) → a__c at position [2,0] and matcher [ ]

A__F(mark(a__c), mark(a__c), mark(a__c))A__F(mark(a__c), mark(a__c), mark(c))
with rule a__cc at position [2,0] and matcher [ ]

A__F(mark(a__c), mark(a__c), mark(c))A__F(mark(a__c), mark(a__c), a__c)
with rule mark(c) → a__c at position [2] and matcher [ ]

A__F(mark(a__c), mark(a__c), a__c)A__F(mark(a__c), mark(b), a__c)
with rule a__cb at position [1,0] and matcher [ ]

A__F(mark(a__c), mark(b), a__c)A__F(mark(a__c), b, a__c)
with rule mark(b) → b at position [1] and matcher [ ]

A__F(mark(a__c), b, a__c)A__F(mark(a), b, a__c)
with rule a__ca at position [0,0] and matcher [ ]

A__F(mark(a), b, a__c)A__F(a, b, a__c)
with rule mark(a) → a at position [0] and matcher [ ]

A__F(a, b, a__c)A__F(a__c, a__c, mark(a__c))
with rule A__F(a, b, X') → A__F(X', X', mark(X')) at position [] and matcher [X' / a__c]

A__F(a__c, a__c, mark(a__c))A__F(a__c, b, mark(a__c))
with rule a__cb at position [1] and matcher [ ]

A__F(a__c, b, mark(a__c))A__F(a, b, mark(a__c))
with rule a__ca at position [0] and matcher [ ]

A__F(a, b, mark(a__c))A__F(mark(a__c), mark(a__c), mark(mark(a__c)))
with rule A__F(a, b, X) → A__F(X, X, mark(X))

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.